//
//  UIView+Hide.m
//  LYKitDemo
//
//  Created by Mac-Mini-KingVision on 16/1/28.
//  Copyright © 2016年 LiuWenYang. All rights reserved.
//

#import "UIView+Hide.h"

@implementation UIView (Hide)

-(void)hideAllSubViews
{
    for (UIView *view in self.subviews) {
        view.hidden = YES;
    }
}

-(void)showAllSubViews
{
    for (UIView *view in self.subviews) {
        view.hidden = NO;
    }
}


@end
